﻿namespace Digitalmes.Application.Mes;

/// <summary>
/// 生产任务 Dto 对象
/// </summary>
public sealed class ProdTaskDto : Dto
{
    /// <summary>
    /// 产线 Id。
    /// </summary>
    public long LineId { get; set; }

    /// <summary>
    /// 产线编号
    /// </summary>
    public string? LineCode { get; set; }

    /// <summary>
    /// 区域
    /// </summary>
    public string? Area { get; set; }

    /// <summary>
    /// 区域名称
    /// </summary>
    public string? AreaName { get; set; }

    /// <summary>
    /// 区域尾部工序
    /// </summary>
    public string? TailProcCode { get; set; }

    /// <summary>
    /// 班次 Id
    /// </summary>
    public long ShiftId { get; set; }

    /// <summary>
    /// 班次编号
    /// </summary>
    public string? ShiftCode { get; set; }

    /// <summary>
    /// 班次
    /// </summary>
    public MdShift? Shift { get; set; }

    /// <summary>
    /// 任务数量
    /// </summary>
    public int Qty { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string? CreateUser { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string? UpdateUser { get; set; }
}
